package com.vote.vs.entity;

public class SubjectDto {
    private Integer id;
    private String title;
    private Integer options;
    private Integer participants;

    @Override
    public String toString() {
        return "SubjectDto{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", options=" + options +
                ", participants=" + participants +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getOptions() {
        return options;
    }

    public void setOptions(Integer options) {
        this.options = options;
    }

    public Integer getParticipants() {
        return participants;
    }

    public void setParticipants(Integer participants) {
        this.participants = participants;
    }

    public SubjectDto(Integer id, String title, Integer options, Integer participants) {
        this.id = id;
        this.title = title;
        this.options = options;
        this.participants = participants;
    }

    public SubjectDto() {
    }
}
